<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>input의 요소들</title>
</head>
<body>
<form action="" method="">
<!-- text -->
<input type="text" name="data1" size="20" maxlength="10" value="초기값" readonly> <br><br>
<input type="password" name="data2" size="20" maxlength="10"> <br><br>
<textarea rows="10" cols="20" name="data3">초기값<br>안녕<br>
하세요
지금 뭐하세요</textarea><br>
<!-- 사용자 선택 -->
<!-- 다중선택 -->
<input type="checkbox" name="cb1" value="사과" checked>사과<br>
<input type="checkbox" name="cb2" value="배" >배<br>
<input type="checkbox" name="cb3" value="감" >감<br>
<input type="checkbox" name="cb4" value="수박" >수박<br>
<br>
<!-- 단일선택 -->
<input type="radio" name="r" value="사과" checked>사과<br>
<input type="radio" name="r" value="배" >배<br>
<input type="radio" name="r" value="감" >감<br>
<input type='radio' name="r" value="수박" >수박<br>
<br>
<!-- 리스트 콤보 박스 -->
<select name='s' size=8 multiple>
	<option value=사과>사과</option>
	<option value=배 selelcted>배</option>
	<option value=감>감</option>
	<option value='귤'>귤</option>
</select><br>
<!-- 파일 이름 입력 -->
<input type="file" name="data4"><br><br>

</form>
</body>
</html>